package com.itheima.d7_interface.demo1;

public class Test {
    public static void main(String[] args) {
        Student s = new Student();
        s.printStudentInfo(new Student[]{
                new Student("小王", '男', 100),
                new Student("小李", '女', 90),
                new Student("小张", '男', 80),
                new Student("小赵", '女', 70),
                new Student("小钱", '男', 60),
        });
        s.printStudentAvgScore(new Student[]{
                new Student("小王", '男', 100),
                new Student("小李", '女', 90),
                new Student("小张", '男', 80),
                new Student("小赵", '女', 70),
                new Student("小钱", '男', 60),
        });
    }
}
